-- GENERATED SPELL FOR [Mosh'Ogg Mauler] --


function spell0_678(pUnit, Event) --@Knockdown,n/a--
pUnit:FullCastSpellOnTarget(5164,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_678', 2000, 1)
end

function Sorts_678(pUnit, Event)
local choix_sorts_678 = math.random(0, 0)
if choix_sorts_678 == 0 then
pUnit:RegisterEvent('spell0_678', 1, 1)
end
end

function mob678_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_678', math.random(1500, 3000), 1)
end

function mob678_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob678_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob678_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(678, 1, 'mob678_Action')
RegisterUnitEvent(678, 2, 'mob678_Leave')
RegisterUnitEvent(678, 3, 'mob678_Kill')
RegisterUnitEvent(678, 4, 'mob678_Die')
